package com.office.personalOffice.personalInfoQuery.dao;

import com.office.personalOffice.personalInfoQuery.model.TbStaff;
import com.office.personalOffice.personalInfoQuery.model.TbDept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface IPersonalInfoQuery {

    //根据条件拿取员工信息
    public List<TbStaff> getStaffInfoByCondition(TbStaff tbStaff);

    //拿取所有部门
    public List<TbDept> getAllDept();
}
